<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2023/4/26
 * Time: 11:23
 */

namespace Database\Factories;


use App\Models\Customer;
use Illuminate\Database\Eloquent\Factories\Factory;

class CustomerFactory extends Factory
{
    /**
     * 虚拟客户添加方式：
     * php artisan thinker
     * \App\Models\Customer::factory()->count(1000)->create();
     */

    protected $model = Customer::class;
    public function definition()
    {
        return [

            'customer_name'=>fake()->company,
            'provinces'=>fake()->state,
            'city'=>fake()->city,
            'county'=>fake()->country,
            'customer_address'=>fake()->address,
            'contact'=>fake()->name,
            'contact_phone'=>fake()->phoneNumber,
            'remark'=>fake()->realText

        ];
    }
}